//
//  OldAccount.h
//  laonianbang
//
//  Created by 勇拓 李 on 17/10/15.
//  Copyright © 2017年 zaiyou. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "oldServer.h"

#define ACCOUNT_SINGLETON [OldAccount shareInstance]

typedef void ( ^ block ) (BOOL result);

@interface OldAccount : NSObject

@property (nonatomic, strong)oldServer *accountInfo;

+ ( instancetype ) shareInstance;

- (void)initAccountInfo:(block)block;

- (void)initAccountByDic:(NSDictionary *)dic;

- (void)clearAccountInfo;

- (BOOL)ifCanServer;

@end
